package org.electrical.dao;

import org.electrical.pojo.EleDictionary;

import java.util.List;

public interface EleDictionaryDao extends CommonDao<EleDictionary, Integer> {

    /**
     * 根据类型查询
     */
    public List<EleDictionary> getByType(String dicType);

    /**
     * 根据类型和值查询
     */
    public EleDictionary getByTypeName(EleDictionary eleDictionary);

    /**
     * 查询客户等级
     */
    public List<EleDictionary> getCusLevel();

    /**
     * 查询客户满意度
     */
    public List<EleDictionary> getCusSatisfied();

    /**
     * 查询客户信用度
     */
    public List<EleDictionary> getCusCredit();


    /**
     * 查询服务类型
     */
    public List<EleDictionary> getServiceType();

}
